package com.example.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;

@MapperScan("com.example.demo.dao")
@SpringBootApplication
@EnableAsync
public class DemoApplication {

    public static void main(String[] args)
    {
        SpringApplicationBuilder builder=new SpringApplicationBuilder(DemoApplication.class);
        builder.headless(false).run(args);
    }

}
